package com.demo.cloud.server.apis.feign;

import com.demo.cloud.server.apis.DemoServicesApis;
import com.demo.cloud.server.service.DemoServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * feign接口实现
 */
@RestController
public class DemoServicesApisController implements DemoServicesApis {

    @Autowired
    private DemoServices demoServices;
    @Override
    public String get(String name) {
        return demoServices.get(name);
    }
}
